package com.xuanzheng.company.entity;

import java.io.Serializable;
import java.sql.Timestamp;

public class EmployeePerformance implements Serializable {
    private String id;
    private String companyId;
    private String userId;
    private String employeeNumber;
    private String employeeName;
    private String position;
    private int year;
    private int month;
    private double attendanceHours;
    private double avgTaskScore;
    private double performance;
    private Timestamp createTime;
    private Timestamp updateTime;

    public EmployeePerformance() {
    }

    // Getters and Setters
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getEmployeeNumber() {
        return employeeNumber;
    }

    public void setEmployeeNumber(String employeeNumber) {
        this.employeeNumber = employeeNumber;
    }

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public int getMonth() {
        return month;
    }

    public void setMonth(int month) {
        this.month = month;
    }

    public double getAttendanceHours() {
        return attendanceHours;
    }

    public void setAttendanceHours(double attendanceHours) {
        this.attendanceHours = attendanceHours;
    }

    public double getAvgTaskScore() {
        return avgTaskScore;
    }

    public void setAvgTaskScore(double avgTaskScore) {
        this.avgTaskScore = avgTaskScore;
    }

    public double getPerformance() {
        return performance;
    }

    public void setPerformance(double performance) {
        this.performance = performance;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "EmployeePerformance{" +
                "id='" + id + '\'' +
                ", companyId='" + companyId + '\'' +
                ", userId='" + userId + '\'' +
                ", employeeNumber='" + employeeNumber + '\'' +
                ", employeeName='" + employeeName + '\'' +
                ", position='" + position + '\'' +
                ", year=" + year +
                ", month=" + month +
                ", attendanceHours=" + attendanceHours +
                ", avgTaskScore=" + avgTaskScore +
                ", performance=" + performance +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
} 